\hypertarget{class_cloth_material}{
\section{ClothMaterial Class Reference}
\label{class_cloth_material}\index{ClothMaterial@{ClothMaterial}}
}


the cloth material object read from config file  




{\ttfamily \#include $<$ClothMaterial.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_cloth_material_af1c097110ac1c9851008f7295a144481}{ClothMaterial} (const std::string \_\-name, const std::string \_\-textureName, const float \_\-stiffness, const float \_\-damping)
\begin{DoxyCompactList}\small\item\em ctor \end{DoxyCompactList}\item 
std::string \hyperlink{class_cloth_material_af67ec0c918abe2c5fbb7b2b5215b27e0}{getName} () const 
\begin{DoxyCompactList}\small\item\em return the name of material \end{DoxyCompactList}\item 
std::string \hyperlink{class_cloth_material_a77326502ffaab6d42814d42fd757c601}{getTextureName} () const 
\begin{DoxyCompactList}\small\item\em return the texture filename of material \end{DoxyCompactList}\item 
float \hyperlink{class_cloth_material_a50edeb6c67795fd906554189ac8ab7ed}{getStiffness} () const 
\begin{DoxyCompactList}\small\item\em return the stiffness of material \end{DoxyCompactList}\item 
float \hyperlink{class_cloth_material_a74449a2f86e7dd088260fa82c1ffd96e}{getDamping} () const 
\begin{DoxyCompactList}\small\item\em return the damping coefficient of material \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
std::string \hyperlink{class_cloth_material_a650d6a58966e6285801cee7f786b5c55}{m\_\-name}
\begin{DoxyCompactList}\small\item\em name of material \end{DoxyCompactList}\item 
std::string \hyperlink{class_cloth_material_a714a78ea0b9d45f28514655a3c154554}{m\_\-textureName}
\begin{DoxyCompactList}\small\item\em filename of texture \end{DoxyCompactList}\item 
float \hyperlink{class_cloth_material_ad99fafd6ecabd1b08f1ec866410e3c7e}{m\_\-stiffness}
\begin{DoxyCompactList}\small\item\em stiffness of material \end{DoxyCompactList}\item 
float \hyperlink{class_cloth_material_a494c688ab29eb6ff12f0a4120644746c}{m\_\-damping}
\begin{DoxyCompactList}\small\item\em damping of material \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
the cloth material object read from config file 

Definition at line 16 of file ClothMaterial.h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_cloth_material_af1c097110ac1c9851008f7295a144481}{
\index{ClothMaterial@{ClothMaterial}!ClothMaterial@{ClothMaterial}}
\index{ClothMaterial@{ClothMaterial}!ClothMaterial@{ClothMaterial}}
\subsubsection[{ClothMaterial}]{\setlength{\rightskip}{0pt plus 5cm}ClothMaterial::ClothMaterial (
\begin{DoxyParamCaption}
\item[{const std::string}]{\_\-name, }
\item[{const std::string}]{\_\-textureName, }
\item[{const float}]{\_\-stiffness, }
\item[{const float}]{\_\-damping}
\end{DoxyParamCaption}
)}}
\label{class_cloth_material_af1c097110ac1c9851008f7295a144481}


ctor 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em \_\-name} & name of the material \\
\hline
\mbox{\tt in}  & {\em \_\-textureName} & texture filename \\
\hline
\mbox{\tt in}  & {\em \_\-stiffness} & stiffness of material \\
\hline
\mbox{\tt in}  & {\em \_\-damping} & damping coefficient of material \\
\hline
\end{DoxyParams}


Definition at line 7 of file ClothMaterial.cpp.


\begin{DoxyCode}
{
    m_name = _name;
    m_textureName = _textureName;
    m_stiffness = _stiffness;
    m_damping = _damping;
}
\end{DoxyCode}


\subsection{Member Function Documentation}
\hypertarget{class_cloth_material_a74449a2f86e7dd088260fa82c1ffd96e}{
\index{ClothMaterial@{ClothMaterial}!getDamping@{getDamping}}
\index{getDamping@{getDamping}!ClothMaterial@{ClothMaterial}}
\subsubsection[{getDamping}]{\setlength{\rightskip}{0pt plus 5cm}float ClothMaterial::getDamping (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cloth_material_a74449a2f86e7dd088260fa82c1ffd96e}


return the damping coefficient of material 



Definition at line 42 of file ClothMaterial.h.



References m\_\-damping.


\begin{DoxyCode}
{ return m_damping; }
\end{DoxyCode}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_cloth_material_a74449a2f86e7dd088260fa82c1ffd96e_icgraph}
\end{center}
\end{figure}


\hypertarget{class_cloth_material_af67ec0c918abe2c5fbb7b2b5215b27e0}{
\index{ClothMaterial@{ClothMaterial}!getName@{getName}}
\index{getName@{getName}!ClothMaterial@{ClothMaterial}}
\subsubsection[{getName}]{\setlength{\rightskip}{0pt plus 5cm}std::string ClothMaterial::getName (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cloth_material_af67ec0c918abe2c5fbb7b2b5215b27e0}


return the name of material 



Definition at line 33 of file ClothMaterial.h.



References m\_\-name.


\begin{DoxyCode}
{ return m_name; }
\end{DoxyCode}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_cloth_material_af67ec0c918abe2c5fbb7b2b5215b27e0_icgraph}
\end{center}
\end{figure}


\hypertarget{class_cloth_material_a50edeb6c67795fd906554189ac8ab7ed}{
\index{ClothMaterial@{ClothMaterial}!getStiffness@{getStiffness}}
\index{getStiffness@{getStiffness}!ClothMaterial@{ClothMaterial}}
\subsubsection[{getStiffness}]{\setlength{\rightskip}{0pt plus 5cm}float ClothMaterial::getStiffness (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cloth_material_a50edeb6c67795fd906554189ac8ab7ed}


return the stiffness of material 



Definition at line 39 of file ClothMaterial.h.



References m\_\-stiffness.


\begin{DoxyCode}
{ return m_stiffness; }
\end{DoxyCode}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_cloth_material_a50edeb6c67795fd906554189ac8ab7ed_icgraph}
\end{center}
\end{figure}


\hypertarget{class_cloth_material_a77326502ffaab6d42814d42fd757c601}{
\index{ClothMaterial@{ClothMaterial}!getTextureName@{getTextureName}}
\index{getTextureName@{getTextureName}!ClothMaterial@{ClothMaterial}}
\subsubsection[{getTextureName}]{\setlength{\rightskip}{0pt plus 5cm}std::string ClothMaterial::getTextureName (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cloth_material_a77326502ffaab6d42814d42fd757c601}


return the texture filename of material 



Definition at line 36 of file ClothMaterial.h.



References m\_\-textureName.


\begin{DoxyCode}
{ return m_textureName; }
\end{DoxyCode}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_cloth_material_a77326502ffaab6d42814d42fd757c601_icgraph}
\end{center}
\end{figure}




\subsection{Member Data Documentation}
\hypertarget{class_cloth_material_a494c688ab29eb6ff12f0a4120644746c}{
\index{ClothMaterial@{ClothMaterial}!m\_\-damping@{m\_\-damping}}
\index{m\_\-damping@{m\_\-damping}!ClothMaterial@{ClothMaterial}}
\subsubsection[{m\_\-damping}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf ClothMaterial::m\_\-damping}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_cloth_material_a494c688ab29eb6ff12f0a4120644746c}


damping of material 



Definition at line 55 of file ClothMaterial.h.

\hypertarget{class_cloth_material_a650d6a58966e6285801cee7f786b5c55}{
\index{ClothMaterial@{ClothMaterial}!m\_\-name@{m\_\-name}}
\index{m\_\-name@{m\_\-name}!ClothMaterial@{ClothMaterial}}
\subsubsection[{m\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf ClothMaterial::m\_\-name}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_cloth_material_a650d6a58966e6285801cee7f786b5c55}


name of material 



Definition at line 46 of file ClothMaterial.h.

\hypertarget{class_cloth_material_ad99fafd6ecabd1b08f1ec866410e3c7e}{
\index{ClothMaterial@{ClothMaterial}!m\_\-stiffness@{m\_\-stiffness}}
\index{m\_\-stiffness@{m\_\-stiffness}!ClothMaterial@{ClothMaterial}}
\subsubsection[{m\_\-stiffness}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf ClothMaterial::m\_\-stiffness}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_cloth_material_ad99fafd6ecabd1b08f1ec866410e3c7e}


stiffness of material 



Definition at line 52 of file ClothMaterial.h.

\hypertarget{class_cloth_material_a714a78ea0b9d45f28514655a3c154554}{
\index{ClothMaterial@{ClothMaterial}!m\_\-textureName@{m\_\-textureName}}
\index{m\_\-textureName@{m\_\-textureName}!ClothMaterial@{ClothMaterial}}
\subsubsection[{m\_\-textureName}]{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf ClothMaterial::m\_\-textureName}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_cloth_material_a714a78ea0b9d45f28514655a3c154554}


filename of texture 



Definition at line 49 of file ClothMaterial.h.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
include/\hyperlink{_cloth_material_8h}{ClothMaterial.h}\item 
src/\hyperlink{_cloth_material_8cpp}{ClothMaterial.cpp}\end{DoxyCompactItemize}
